
const host ="https://bucuo.jikeyun.net/api"
module.exports = { 
    login:`${host}/user/login`,//登录接口
    upload: `${host}/com/createsharepost`,//获取分享接口
    common: `${host}/com/newestContent`,//获取最新发布接口
    indexBanner: `${host}/com/indexBannerList`,//首页banner
    Skill: `${host}/skill/articleList`,//技巧屋
    SkillDetail: `${host}/skill/articleDetail`,//文章详情
    topicAdd: `${host}/topic/topicAdd`,  //出题
    topicDetail: `${host}/topic/topicDetail`,  //出题详情
    topArticleDetail: `${host}/topic/articleDetail`,//出题文章详情
    topicList: `${host}/topic/topicList`, //出题列表
    topicDoLike: `${host}/topic/doLike`, //点赞
    topiccancelLike:  `${host}/topic/cancelLike`,//取消点赞
    topicdoStar: `${host}/topic/doStar`, //收藏
    topiccancelStar: `${host}/topic/cancelStar`, //取消收藏
    topicarticleDetail: `${host}/topic/articleDetail`, //出题列表--文章详情
    topicDraft: `${host}/topic/topicDraft`,// 获取最后一次出题草稿
    topicArticleAdd: `${host}/topic/articleAdd`,//出题写作
    topicArticleDetail: `${host}/topic/articleDetail`,//获取文章详情
    topicDeleteTopicDraft: `${host}/topic/deleteTopicDraft`,//删除草稿
    topicArticleList: `${host}/topic/articleList`,//文章列表
    topicCommentAdd: `${host}/topic/commentAdd`,//添加评论文章
    topicCommentList: `${host}/topic/commentList`,//获取文章评论列表
    userInfo:`${host}/user/userInfo`,//用户信息
    starList: `${host}/user/starList`,//用户收藏列表
    inviteList: `${host}/user/inviteList`,//我收到的邀请
    messageList: `${host}/user/messageList`,//用户消息列表
    allUser: `${host}/user/allUser`,//獲取所有用戶
    
    addBuild: `${host}/build/addBuild`,//添加接龙
    deleteBuildDraft:  `${host}/build/deleteBuildDraft`,//删除接龙草稿
    buildList: `${host}/build/buildList`,//接龙列表
    buildDetail: `${host}/build/buildDetail`,//接龙详情
    buildArticleList: `${host}/build/articleList`,//接龙文章列表
    addBuildArticle: `${host}/build/addBuildArticle`,//添加接龙文章
    articleDraft: `${host}/topic/articleDraft`,//最后一次的文章草稿
    buildArticleDetail: `${host}/build/buildArticleDetail`,//获取接龙文章详情

    start: `${host}/com/appStartAdv`,//启动页
    banner: `${host}/com/indexBannerList`,//首页轮播
    nextS: `${host}/build/buildList`,//搜索接口
    articleAdd: `${host}/help/articleAdd`,//发布修改文章
    articleDetail: `${host}/help/articleDetail`,//获取文章详情
    addInvite: `${host}/help/addInvite`,//添加修改
    drafList: `${host}/build/articleList`,//草稿列表
    articleLists: `${host}/help/articleList`,//修改列表
    commentList: `${host}/help/commentList`,//修改意见列表
    addComment: `${host}/help/addComment`,//添加修改建议

    select: `${host}/recommend/categoryList`,//59号精选列表 
    articleList: `${host}/recommend/articleList`,
    //59号文章列表
    recommendA: `${host}/recommend/articleDetail`,//59号文章详情
    rdoLike: `${host}/recommend/doLike `,//59号文章点赞
    cdoLike: `${host}/recommend/cancelLike `,//59号文章取消点赞
    doStar: `${host}/recommend/doStar `,//59号文章收藏
    cancelStar: `${host}/recommend/cancelStar `,//59号文章取消收藏
    articleR:`${host}/recommend/articleComment` ,//评论列表
}
